<#include "/java_copyright.include">
<#assign className = table.className>   
<#assign classNameLower = className?uncap_first> 
package ${basepackage}.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.fzfx.base.persistence.GenericMapper;
import cn.fzfx.base.service.impl.AbstractGenericServiceImpl;
import ${basepackage}.domain.${className};
import ${basepackage}.persistence.${className}Mapper;
import ${basepackage}.service.${className}Service;
<#include "/java_imports.include">
@Service
public class ${className}ServiceImpl extends AbstractGenericServiceImpl<${className}, Long> implements ${className}Service {

    @Autowired
    private ${className}Mapper ${classNameLower}Mapper;

    @Override
    public GenericMapper<${className}, Long> getMapper() {
        return ${classNameLower}Mapper;
    }
}